Wovnio\Wovnwp\WpClasses\Swapper S

Total Complexity 34
Dependencies 5
Dependents 1
Total lines 207
Lines of code 166
Logical lines of code 103
Comment lines 0
Methods 11
Properties 8

Methods 11

Method Rating Maintainability Complexity Lines of code
request_wovn_api()
A
44 8 46
set_lang_and_original_url()
S
56 5 18
swap_html()
S
54 4 23
set_lang_and_original_url_by_query()
S
61 3 12
validate()
S
71 3 5
build_api_url()
S
57 2 15
generate_lang_identifieres()
S
68 3 7
set_lang_and_original_url_by_subdomain()
S
58 2 14
set_lang_and_original_url_by_path()
S
60 2 13
__construct()
S
65 1 9
remove_query()
S
74 1 4